/**
 * 引入公共头
 */
function importCommonHead(url) {
    axios.get(url).then(function (html) {
        let div = document.createElement('div');
        div.id='common_head';
        div.innerHTML=html.data;
        let body = document.getElementsByTagName('body');
        body[0].insertBefore(div,body[0].childNodes[0]);
    })
}
importCommonHead('/common/head.html');
